//
//  BaseNavigationController.m
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/21.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "BaseNavigationController.h"

@interface BaseNavigationController ()

@end

@implementation BaseNavigationController


- (instancetype)initWithRootViewController:(BaseViewController *)rootViewController setNavigationBarHidden:(BOOL)hidden{
    self = [super initWithRootViewController:rootViewController];
    [rootViewController useInteractivePopGestureRecognizer];
    if (self) {
          [self setNavigationBarHidden:hidden animated:NO];
    }
    return self;
}


@end
